package com.achang.achangmall.product.service;

import com.achang.achangmall.product.vo.AttrGroupAttrWithAttrsVo;
import com.achang.achangmall.product.vo.SkuItemVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.achang.common.utils.PageUtils;
import com.achang.achangmall.product.entity.AttrGroupEntity;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author achang
 * @email 995931576@qq.com
 * @date 2021-09-20 22:51:19
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Integer catelogId);

    List<AttrGroupAttrWithAttrsVo> getAttrGroupWithAttrsBycatelogId(Long catelogId);

    List<SkuItemVo.SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId,Long catalogId);
}

